<!DOCTYPE html>
<style>
.stylePadidng{
	padding-left:0;
	padding-right:0;
}
input{
padding-left:5px;
box-sizing:border-box;
}
</style>
<div ng-controller="taskLookCtr">
	<div class="well">
		<div class="titleContainer">
			<div class="leftTitle">人员管理 > 任务查看</div>
		</div>
		
		<div class="formContainer">
			<div class="form-horizontal">
				<div class="form-group">
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">任务状态</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" id="task_state"/>
			                </div>
			            </div>
			        </div>
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">完成情况</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" id="finish_condition"/>
			                </div>
			            </div>
			        </div>
			       <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">活动名称</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control"  ng-model="search.activity_name"/>
			                </div>
			            </div>
			        </div>
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建时间(开始)</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" id="start_time"/>
			                </div>
			            </div>
			        </div>	
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建时间（结束）</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" id="end_time"/>
			                </div>
			            </div>
			        </div>
			        <div class="buttons-wrap clearBoth">
						<button class="k-button k-state-default" ng-click="search()">查询</button>
					</div>			        			       
			     </div>
			</div>

			<div class="tableList">
				<div kendo-grid="grid" k-options="gridOptions"></div>
			</div>
			<div kendo-window="taskWindow" k-title="'任务查看'" k-width="650" k-min-height="150" k-visible="false" k-modal="true">
				<div class="windowForm col-sm-12">
					<div class="form-horizontal">
				         <div class="form-group">
				             <label class="col-sm-2 control-label">活动名称</label>
				             <div class="col-sm-7">
				             	<input type="text" class="form-control hiddenInput" ng-model="form.activity_name"/>
				             </div>
				         </div>
				    </div>
				    <div class="form-horizontal">
				         <div class="form-group">
				             <label class="col-sm-2 control-label">开始时间</label>
				             <div class="col-sm-7">
				             	<input type="text" ng-model="form.task_starttime"  class="form-control hiddenInput"/>
				             </div>
				         </div>
				    </div>
				    <div class="form-horizontal">
				         <div class="form-group">
				             <label class="col-sm-2 control-label hiddenInput">结束时间</label>
				             <div class="col-sm-7">
				             	<input type="text" ng-model="form.task_endtime"  class="form-control hiddenInput"/>
				             </div>
				         </div>
				    </div>
				    <div class="form-horizontal">
				         <div class="form-group">
				             <label class="col-sm-2 control-label">活动成单量</label>
				             <div class="col-sm-3">
				             	<input type="number" class="form-control hiddenInput" ng-model="form.activity_num" />
				             </div>
				             <div class="col-sm-1 control-label textLeft stylePadidng">单</div>
				             <div class="col-sm-4 control-label textLeft stylePadidng">
				             	<div  class="col-sm-3 stylePadidng">已完成</div>
				             	<div  class="col-sm-5 stylePadidng" style="colro:#6bb159;text-align:center;">{{form.invite_activity_num}}</div>
				             	<div  class="col-sm-2 stylePadidng">单</div>
				             </div>
				         </div>
				    </div>
				    <div class="form-horizontal">
				         <div class="form-group">
				             <label class="col-sm-2 control-label">签到率</label>
				             <div class="col-sm-3">
				             	<input type="number" class="form-control hiddenInput" ng-model="form.sign_rate"/>
				             </div>
				             <div class="col-sm-1 control-label textLeft stylePadidng">%</div>
				             <div class="col-sm-4 control-label textLeft stylePadidng">
				             	<div class="col-sm-3 stylePadidng">已完成</div>
				             	<div  class="col-sm-5  stylePadidng" style="colro:red;text-align:center;">{{form.invite_sign_rate}}</div>
				             	<div  class="col-sm-2 stylePadidng">%</div>
				             </div>
				         </div>
				    </div>
				    <div class="buttons-wrap clearBoth">
						<button class="k-button k-state-default" ng-click="submitsData()" ng-show="submits">确定</button>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>